package com.demo.dao;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component

public class Gpa {

    @ApiModelProperty("编号")
    String sid;
    @ApiModelProperty("学期")
    String term;
    @ApiModelProperty("绩点")
    double gpa;
    @ApiModelProperty("排名")
    int rank;

    public Gpa() {
    }

    public Gpa(String sid, String term, double gpa, int rank) {
        this.sid = sid;
        this.term = term;
        this.gpa = gpa;
        this.rank = rank;
    }
}
